package test_6762_6771;

import static org.junit.Assert.*;

import org.junit.Test;

import src_6762_6771.MathExam6762;


public class MathExam6762Test {
	@Test
	public void testgetParameter2() {
		assertEquals("为2时","1",MathExam6762.getParameter2());
	}

	@Test
	public void testGetTest() {
		assertEquals("不输入","",MathExam6762.getParameter2());
	}
	
	
	@Test
	public void testaddNum() {
		assertEquals("为2时","1",MathExam6762.addNum(2));
	}
	
	@Test
	public void testaddNum2() {
		assertEquals("为2时","1",MathExam6762.addNum(0));
	}
	
	
}